﻿using System;

namespace Nomad.ASPMVVM {
    public interface INotifyPropertyChanged {
        event EventHandler<PropertyChangedEventArgs> PropertyChanged;
    }

    [Serializable]
    public class PropertyChangedEventArgs : EventArgs {
        public string PropertyName { get; private set; }

        public PropertyChangedEventArgs(string propertyName) {
            this.PropertyName = propertyName;
        }
        public PropertyChangedEventArgs() {
            this.PropertyName = null;
        }
    }
}
